package com.experiment.aicommunityback.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_goods_type")
public class GoodsTypeDTO {
//    前面三个就是First Child
//    children就是子类列表
    private Integer id;

    private String typeName;

    private Integer superType;

    @TableField(exist = false)
    private List<GoodsTypeSecondChildDTO> children;
}
